package com.flyduck.mall.ums.h5.vo;

import lombok.Data;

import jakarta.validation.constraints.*;

import java.io.Serializable;

/**
 * <p>
 * AppAddressSaveReqVO
 * </p>
 *
 * @author flyduck
 * @since 2024-06-19
 */
@Data
public class H5AddressSaveReqVO implements Serializable {
    /**
     *
     */
    @NotBlank(message = "收货人名称不能为空")
    private String name;

    /**
     *
     */
    @NotBlank(message = "收货人电话不能为空")
    private String tel;

    /**
     *
     */
    @NotBlank(message = "收货地址不能为空")
    private String province;

    /**
     *
     */
    @NotBlank(message = "收货地址不能为空")
    private String city;

    /**
     *
     */
    @NotBlank(message = "收货地址不能为空")
    private String county;

    /**
     *
     */
    @NotBlank(message = "收货地址不能为空")
    private String addressDetail;

    /**
     *
     */
    private String areaCode;

    /**
     * 邮政编码
     */
    private String postalCode;

    /**
     *
     */
    @NotNull(message = "是否默认地址不能为空")
    private Boolean isDefault;
}
